﻿using MyBlog2.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyBlog2.Repository
{
    public interface IUserRepository
    {
        //登录
        User Login(User user);
        User GetUserByUsername(string username);
        string GetUseridByUsername(string username);
        User GetUserInfo();     //管理员基本信息
    }
}
